package com.ruoyi.oa.service;

import com.ruoyi.oa.domain.OaFinanceEntertain;
import com.ruoyi.oa.domain.vo.OaFinanceEntertainVo;
import com.ruoyi.oa.domain.bo.OaFinanceEntertainBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;
import com.ruoyi.oa.domain.vo.OaFinanceTravelVo;
import com.ruoyi.oa.domain.vo.OaProjectVo;

import java.util.Collection;
import java.util.List;

/**
 * 招待Service接口
 *
 * @author xiaoyan
 * @date 2023-05-16
 */
public interface IOaFinanceEntertainService {

    /**
     * 查询招待
     */
    OaFinanceEntertainVo queryById(String id);

    /**
     * 查询招待列表
     */
    TableDataInfo<OaFinanceEntertainVo> queryPageList(OaFinanceEntertainBo bo, PageQuery pageQuery);

    /**
     * 查询招待列表
     */
    List<OaFinanceEntertainVo> queryList(OaFinanceEntertainBo bo);

    /**
     * 新增招待
     */
    OaFinanceEntertainBo insertByBo(OaFinanceEntertainBo bo);

    /**
     * 修改招待
     */
    OaFinanceEntertain updateByBo(OaFinanceEntertainBo bo);

    /**
     * 校验并批量删除招待信息
     */
    Boolean deleteWithValidByIds(Collection<String> ids, Boolean isValid);

    /**
     * 获取没有采购流程的项目信息
     * @return
     */
    List<OaProjectVo> getProjectList();

    /**
     * 通过项目名称查询差旅费申请
     * @param projectName
     * @return
     */
    public OaFinanceEntertainVo queryByProjectName(String projectName);
}
